package com.hxm.demo.test1;

import java.util.LinkedList;

/**
 * @author huangxiaoming
 * @date 2021/12/16
 **/
public class TestLinkedList {
    public static void main(String[] args) {
        LinkedList list = new LinkedList();
        list.add(1);
        list.add(2);
        list.add(3);
        list.add(4);
        list.addFirst(0);
        System.out.println(list.toString());
    }
}
